from django.http import HttpResponse
from django.shortcuts import render

dbTableHead ='chdwlgcsysDB_'
#登陆、注册、主页的链接
def login(request):
    return render(request, 'manage/login.html', )

def userRegister(request):
    return render(request, 'manage/userRegister.html', )

def index(request):
    return render(request, 'index.html', )

#系统管理链接
def urlList(request):
    return render(request, 'manage/urlList.html')

def urlListAdd(request):
    return render(request, 'manage/urlListAdd.html')

def urlListModify(request):
    return render(request, 'manage/urlListModify.html')

def roleList(request):
    return render(request, 'manage/roleList.html')

def roleListAdd(request):
    return render(request, 'manage/roleListAdd.html')

def roleListModify(request):
    return render(request, 'manage/roleListModify.html')

def roleMenuListEdit(request):
    return render(request, 'manage/roleMenuListEdit.html')


#例子链接
def classifyInfor(request):
    return render(request,'sample/classifyInfor.html')

def classifyInforAdd(request):
    return render(request,'sample/classifyInforAdd.html')

def upload(request):
    return render(request,'sample/upload.html')



#正式的链接


#下面是测试的连接，最后可以删掉
def test(request):
    return render(request, 'test.html', )

def modeltest(request):
    return render(request, 'model.jsp', )